import { get, post } from '@/utils/request'
// const BASE_URL = window.baseUrl
const BASE_URL = window.accessServer
// 获得客户端信息详情
export function getDetail(query) {
  return get(BASE_URL + '/client/detail/' + query)
}
// 客户端分页列表
export function getLists(query) {
  console.log(query);
  return post(BASE_URL + '/client/list', query)
}
// 修改客户端状态
export function updateData(query) {
  return post(BASE_URL + '/client/update', query)
}